/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/css.css to edit this template
*/
/* 
    Created on : 16 mai 2023, 08:35:19
    Author     : lassr
*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../images/fond3.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}


@media screen and (max-width: 768px) {
    .background-image {
        background-size: 100% auto;
    }
}

.header {
    background-color: #183F7C;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 283px;
    height: 114px;
    text-align: left;
}

.title {
    font-size: 42px;
    margin-top: 10px;
    text-align: left;
    color: white;
    font-family: monospace;
}

.app-name {
    font-size: 18px;
    margin-top: 5px;
    color: #666666;
    text-align: right;
}

@media screen and (max-width: 768px) {
    .header {
        padding: 10px;
    }

    .logo {
        width: 150px;
        height: auto;
    }


    .app-name {
        font-size: 14px;
        margin-top: 3px;
    }
}


.buttons-container {
    text-align: center;
    margin-top: 50px;
}

.button1 {
    display: block;
    padding: 50px 50px;
    font-size: 40px;
    background-color: #951616;
    color: white;
    border: none;
    cursor: pointer;
    margin: 50px auto;
    width: 50%;
    height: 25%;
}

.button2 {
    display: block;
    padding: 50px 50px;
    font-size: 40px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    margin: 50px auto;
    width: 50%;
    height: 25%;
}

.button3 {
    display: block;
    padding: 50px 50px;
    font-size: 40px;
    background-color: #A349A4;
    color: white;
    border: none;
    cursor: pointer;
    margin: 50px auto;
    width: 50%;
    height: 25%;
}

.button4 {
    display: block;
    padding: 50px 50px;
    font-size: 40px;
    background-color: #FFF200;
    color: white;
    border: none;
    cursor: pointer;
    margin: 50px auto;
    width: 50%;
    height: 25%;
}
.buttonA{
    display: block;
    padding: 20px 20px;
    font-size: 20px;
    background-color: #951616;
    color: white;
    border: none;
    cursor: pointer;
    margin: 20px auto;
    width: 50%;
    height: 25%;
}
.buttonB{
    display: block;
    padding: 20px 20px;
    font-size: 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    margin: 20px auto;
    width: 50%;
    height: 25%;
}
.buttonC{
    display: block;
    padding: 20px 20px;
    font-size: 20px;
    background-color: #A349A4;
    color: white;
    border: none;
    cursor: pointer;
    margin: 20px auto;
    width: 50%;
    height: 25%;
}
.buttonD{
    display: block;
    padding: 20px 20px;
    font-size: 20px;
    background-color: #FFF200;
    color: white;
    border: none;
    cursor: pointer;
    margin: 20px auto;
    width: 50%;
    height: 25%;
}
.button1Test{
    display: block;
    padding: 30px 30px;
    font-size: 20px;
    background-color: #951616;
    color: white;
    border: none;
    cursor: pointer;
    margin: 20px auto;
    width: 50%;
    height: 25%;
}

td {

    border-width: inherit;
}

th{
    align-content: center;
    border-width: thick;
}

tr {
    margin-top: 5px;
}

.tdForm{
    width: 33.333%;
    text-align: left;
    border-width: thick;
    text-align: center;
    align-content: center;
}
.tdFormS{

    text-align: right;
    border-width: thick;
    text-align: center;
    align-content: center;
}
.tdFormTete{
    width: 33.333%;
    text-align: center;
    border-width :medium;
}

.content {
    margin-top: 30px;
    margin-left: 20px;
    text-align: left;
}

#dropdown {
    padding: 10px;
    font-size: 18px;
    width: 200px;
}

.column {
    float: left;
    width: 50%;
    padding: 20px;
}

.list {
    list-style-type: none;
    padding: 0;
}

.list li {
    margin-bottom: 10px;
}

.petitButton1 {
    display: block;
    padding: 10px 10px;
    font-size: 15px;
    background-color: #951616;
    color: white;
    border: none;
    cursor: pointer;
    margin: 10px auto;
    width: 50%;
    height: 20%;
}

.petitButton2 {
    display: block;
    padding: 10px 10px;
    font-size: 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    margin: 10px auto;
    width: 50%;
    height: 20%;
}

.caseFormulaire {
    align-content: center;
    margin-left: 175px;
    margin-top: 50px;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
    align-content: center;
    padding: 0;
    border-color: #183F7C;
    border-width: inherit;
}

.tableForm{
    border-spacing: 0;
    border-collapse: collapse;
    align-content: center;
    padding: 0;
    border-color: #183F7C;
    border-width: thick;
    margin-top: 50px;
}
.formTest {
    width: 24px;
    min-width: 24px;
    height: 24px;

    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto;
    border: none;
    display: inline-block;
    visibility: visible;
    position: absolute;
    cursor: pointer;
    z-index: 998;
    padding: 0px;
    transition: none 0s ease 0s;
    pointer-events: all;
    right: 0px;
    left: 237.5px;
    top: 175.6875px;
    min-height: 24px;
}

p {
    align-content: center;
}

span {
    align-content: center;
}

.wheel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.wheel {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #eaeaea;
    cursor: pointer;
    transition: background-color 0.3s;
}

.wheel:hover {
    background-color: #c9c9c9;
}

.wheel-text {
    text-align: center;
    font-weight: bold;
}

.wheel-container .wheel:nth-child(1) {
    transform: rotate(0deg);
}

.wheel-container .wheel:nth-child(2) {
    transform: rotate(45deg);
}

.wheel-container .wheel:nth-child(3) {
    transform: rotate(90deg);
}

.wheel-container .wheel:nth-child(4) {
    transform: rotate(135deg);
}

.wheel-container .wheel:nth-child(5) {
    transform: rotate(180deg);
}

.wheel-container .wheel:nth-child(6) {
    transform: rotate(225deg);
}

.wheel-container .wheel:nth-child(7) {
    transform: rotate(270deg);
}

.wheel-container .wheel:nth-child(8) {
    transform: rotate(315deg);
}

.button1,
.button2,
.button3,
.button4,
.buttonA,
.buttonB,
.buttonC,
.buttonD,
.petitButton1,
.petitButton2{
    transition: transform 0.3s;
}

.button1:hover,
.button2:hover,
.button3:hover,
.button4:hover,
.buttonA:hover,
.buttonB:hover,
.buttonC:hover,
.buttonD:hover,
.petitButton1:hover,
.petitButton2:hover{
    transform: scale(1.1);
}
.machine-link {
    display: inline-block;
    padding: 10px;
    background-color: #951616;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 10px;
}


.intervention-link:hover {
    background-color: #ddd;
}

/* CSS pour la case des détails de l'intervention */
.intervention-details {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 20px;
    background-color: #f7f7f7;
}

.intervention-details h2 {
    font-size: 24px;
    margin-top: 0;
}

.intervention-details p {
    margin: 0;
    padding-bottom: 10px;
}
.pastille {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    float: right;
    margin-left: 10px;
}

.priorite-a-controler {
    background-color: green;
}

.priorite-a-prevoir {
    background-color: orange;
}

.priorite-urgent {
    background-color: red;
}

.priorite-arret-machine {
    background-color: black;
}
.intervention-details {
    position: relative;
}

.intervention-details .modifier-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: block;
    padding: 10px 10px;
    font-size: 15px;
    background-color: #951616;
    color: white;
    border: none;
    cursor: pointer;
}
label {
    font-weight: bold;
    margin-right: 10px;
}

select {
    padding: 5px;
    font-size: 14px;
}

input[type="submit"] {
    padding: 8px 12px;
    font-size: 14px;
    background-color: #951616;
    color: white;
    border: none;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .title {
        margin-right: 0;
    }

    .buttons-container {
        margin-top: 30px;
    }

    .button1,
    .button2,
    .button3,
    .button4,
    .buttonA,
    .buttonB,
    .buttonC,
    .buttonD,
    .petitButton1,
    .petitButton2 {
        width: 100%;
        font-size: 30px;
    }

    .column {
        width: 100%;
    }

    .list li {
        margin-bottom: 5px;
    }


    .caseFormulaire {
        margin-left: 0;
        margin-top: 30px;
    }

    .tableForm {
        margin-top: 30px;
    }

    .formTest {
        left: 0;
        right: 0;
        top: 0;
        margin: 10px auto;
    }

    .wheel-container {
        height: auto;
    }

    .wheel {
        width: 150px;
        height: 150px;
    }

    .button1,
    .button2,
    .button3,
    .button4,
    .buttonA,
    .buttonB,
    .buttonC,
    .buttonD,
    .petitButton1,
    .petitButton2,
    .wheel,
    .formTest {
        transition: none;
        transform: none;
    }
}
.checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid black;
    margin: 0;
    padding: 0;
    display: inline-block;
    position: relative;
}
.checkbox input {
    position: absolute;
    opacity: 0;
}
.checkbox label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: black;
    cursor: pointer;
}
.checkbox input:checked + label:after {
    content: "\2714";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: black;
}
.tableT {
    border-collapse: collapse;

}

.tdT {

    padding: 5px;
}

.tdT:first-child {
    border-left: none;
}
.container {

    justify-content: center;
    align-items: center;
    height: 100vh;
}
.box {
    justify-content: center;
    align-items: center;
}
input {
    align-self: center;
    align-items: center;
    align-content: center;
}
#canvas {
    width: 1000px;
    height: 750px;
    border: 1px solid black;
    margin-left: 50px;
}
canvas{
    width: 1000px;
    height: 750px;
    border: 1px solid black;
    margin-left: 50px;
}
.coordonnees-table {
    border-collapse: collapse;
    width: 50%;
    margin-right: 0px; /* Ajoutez la marge souhaitée ici */
}


.coordonnees-table th, .coordonnees-table td {
    border: 1px solid black;
    padding: 4px; /* Ajustez la valeur de padding selon vos besoins */
}

.coordonnees-table th {
    background-color: #f2f2f2;
    text-align: left;
}

.coordonnees-table tr:hover {
    background-color: #f5f5f5;
}

.text-input {
    border-bottom: 1px solid black;
    font-size: 14px;
    font-weight: bold;
    border: none;
    background-color: transparent;
    outline: none;
    border-bottom: 1px solid black;
}
trou-cell {
    width: 80px; /* Ajustez la valeur de la largeur selon vos besoins */
}
.restart-row {
    clear: left;
}
select[name="client"] {
  border: none;
  background-color: transparent;
  outline: none;
  border-bottom: 1px solid black;
  padding: 5px;
  font-size: 14px;
  color: #333;
  width: 200px; /* ajustez la largeur selon vos besoins */
}

select[name="client"] option {
  padding: 5px;
  font-size: 14px;
  color: #333;
}

select[name="client"] option:hover {
  background-color: #f2f2f2;
}

select[name="client"] option:selected {
  font-weight: bold;
  color: #000;
}
.crumbs {
  
  padding: 10px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.crumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.crumbs li {
  display: inline-block;
  margin-right: 5px;
}

.crumbs li a {
  text-decoration: none;
  color: blue;
}

.crumbs li::after {
  content: " > ";
  color: blue;
}

.crumbs li:last-child::after {
  content: "";
}

.crumbs li a:hover {
  text-decoration: underline;
}
